package com.polimi.meteocal.business.util;

import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;

public class PersonalStringTokenizer {
	
	public List<String> tokenizeString(String string){
		List<String> usersToInvite= new ArrayList<String>();
		if(string!=null){
			StringTokenizer stk= new StringTokenizer(string, ";");
			while(stk.hasMoreTokens()){
				usersToInvite.add(stk.nextToken());
			}
		}
		return usersToInvite;
	}
	

}
